local skynet = require "skynet"
local cjson = require "cjson"

local num = ...
num = num or 10000
num = tonumber(num)

skynet.start(function()
	local padata = {
		test1 = 1,
		test2 = 2,
		test3 = "12323",
		test4 = {},
	}
	print("test cjson:", num)
	for i = 1, num do
		local packed = cjson.encode(padata)
		print(packed)
                	end
end)
